package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.domain.po.Student;

import java.util.List;

public interface StudentService extends IService<Student> {
    Student getStudentByCode(String code);
    Student saveStudent(Student student);
    boolean deleteStudentById(Long id);
    Student updateStudent(Student student);
    Student getStudentById(Long id);

    // 批量导入学员
    boolean importStudents(List<Student> students);

    // 审核学员
    boolean auditStudent(Long studentId, String status);

    // 批量审核学员
    boolean auditStudents(List<Long> studentIds, String status);
}
